import pandas as pd 
import json

data = {
    '姓名': ['张三', '李四', '王五', '赵六'],
    '年龄': [28, 35, 42, 30],
    '工资': [12000, 15000, 10000, 14000],
    '城市': ['北京', '上海', '广州', '深圳'],
    '备注': ['学习Python', '喜欢编程', '热爱数据', '善于沟通']
}
# 数据格式的转换
# data = pd.DataFrame(data)

# with pd.ExcelWriter("info.xlsx") as writer:
#     data.to_excel(writer)
# print("数据已写入")